/** PortState Enum
    CS158A Spring 2010 Project #2
    @author Clare Lanam & Loc Phan
    */

public enum PortState
{
   FORWARDING("Forwarding"),
   BLOCKING("Blocking"),
   LISTENING("Listening"),
   LEARNING("Learning"); // preparing to participate
   
   private final String name;
   
   PortState(String name) { this.name = name; }
   public String toString() { return name; }
}
